package cn.lingyangwl.agile.infra.gen.model.entity;


import cn.lingyangwl.agile.model.BasePlusPO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@ToString
@TableName("lcp_generate_history")
public class GenerateHistory extends BasePlusPO {
	@TableId
	private Long id;
	private String configContent;

	private String md5Value;

	@Override
	public boolean equals(Object o) {
		if (this == o) { return true; }
		if (o == null || getClass() != o.getClass()) {return false;}
		GenerateHistory that = (GenerateHistory) o;
		return id.equals(that.id);
	}

	@Override
	public int hashCode() {
		return java.util.Objects.hash(id);
	}
}